<template>
  <el-table-column v-bind="$attrs" v-on="$listeners">
    <template>
      <slot name="header"/>
    </template>
    <template slot-scope="scope">
      <slot :row="scope.row"/>
    </template>
  </el-table-column>
</template>

<script>

export default {
  name: 'DataGridColumnslot',
  inheritAttrs: false, // v-bind="$attrs"传递属性后，浏览器查看html代码能看见visible，title等属性；设置inheritAttrs: false可以隐藏此类属性
  props: {
  },
  data() {
    return {
    }
  },
  computed: {
  },
  beforeCreate() {
  },
  mounted() {
  },
  methods: {
  }
}
</script>
